<?php
$config = require_once THINK_PATH . '../common/config.php';

$part_config = array(
    /*框架配置*/
    'LAYOUT_ON'   => true,
    'LAYOUT_NAME' => 'layout',

    /*项目配置*/
    'APP_NAME'    => '铜人宝',

    /*数据库配置*/
    'DB_TYPE'     => 'mysql',
    // 'DB_HOST'     => 'rm-bp17c9bzb911z90yko.mysql.rds.aliyuncs.com',//'192.168.0.142',
   // 'DB_NAME'     => 'mcftest',

    // 'DB_USER'     => 'mcftest_user',
    // 'DB_PWD'      => 'mcftest@123',
    'DB_HOST'     => '117.18.0.26',
    'DB_NAME'     => 'tongrenbao',
    'DB_USER'     => 'root',
    'DB_PWD'      => 'zhenaipass-82492',//'123456',
    'DB_PORT'     => '3306',
    'DB_CHARSET'  => 'utf8',
    'DB_PREFIX'   => 'trb_',

    /*业务级别配置参数*/
    'menus'        => array(
        array(
            array(
                'tip'  => '用户中心',
                'link' => 'javascript:void(0)'
            ),
            array(
                'tip'  => '管理员管理',
                'link' => '/user/admin',
            ),
        ),
        array(
            array(
                'tip'  => '医院管理',
                'link' => 'javascript:void(0)'
            ),
            array(
                'tip'  => '医院列表',
                'link' => '/hospital/index',
            ),
        ),

        array(
            array(
                'tip'  => '系统管理',
                'link' => '/config/set',
            ),
            array(
                'tip'  => '系统设置',
                'link' => '/config/set'
            ),
            array(
                'tip'  => '系统消息',
                'link' => '/sysmsg/index',
            ),
            array(
                'tip'  => '消息推送',
                'link' => '/sysmsg/msgPush',
            ),
            array(
                'tip'  => '意见反馈',
                'link' => '/sysest/index',
            ),
        ),

    ),
    //星座列表 9-22liuqi 新增
    'star_list' =>[0=>['未设置',''],1=>['水瓶座',''],2=>['双鱼座',''],3=>['牧羊座',''],4=>['金牛座',''],5=>['双子座',''],6=>['巨蟹座',''],7=>['狮子座',''],8=>['处女座',''],9=>['天秤座',''],10=>['天蝎座',''],11=>['射手座',''],12=>['魔羯座','']],
    /*商品所属站点*/
    'FiterControl' => array(
        'home\Controller\UserController',
        'home\Controller\ApiController'
    ),
    'icons'        => array(
        'icon-briefcase', 'icon-list-alt', 'icon-user', 'icon-comment', 'icon-tasks', 'icon-credit-card', 'icon-folder-open', 'icon-hdd', 'icon-cloud', 'icon-cog'
    ),
    'open_cache'   => false,
    'NEWS_TYPE'    => ['1'=>'首页圆圈曝光','2'=>'想变美-美容服务'],
    'live_cate'    => ['无资格','会长直播','组会直播','明星直播','all'=>'全部']
);
$config = array_merge($config, $part_config);

return $config;